package com.zhengping.zpys.security.log;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author chenweizuan
 * @description This is description of class
 * @version 1.0
 * @date 2020/3/29 16:39
 */
@Service
public class LogServiceImpl implements LogService {
    @Autowired
    LogMapper logMapper;

    @Override
    public void creatLog(Log log) {
        logMapper.creatLog(log);
    }

    @Override
    public List<Log> queryLogList(Log log) {
        return logMapper.queryLogList(log);
    }

    @Override
    public Integer deleteLog(List<Long> operId) {
        return logMapper.deleteLog(operId);
    }

    @Override
    public Log queryLogById(Long operId) {
        return logMapper.queryLogById(operId);
    }

    @Override
    public void cleanLog() {

    }
}
